﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CodeGenerator
{
    struct TableRelation
    {
        private string _parentTableName;
        private string _childTableName;
        private string _relationColumnName;

        public string ParentTableName
        {
            get { return this._parentTableName; }
            set { this._parentTableName = value; }
        }

        public string ChildTableName
        {
            get { return this._childTableName; }
            set { this._childTableName = value; }
        }

        public string RelationColumnName
        {
            get { return this._relationColumnName; }
            set { this._relationColumnName = value; }
        }

        public TableRelation(string parentTableName, string childTableName, string relationColumnName)
        {
            this._parentTableName = parentTableName;
            this._childTableName = childTableName;
            this._relationColumnName = relationColumnName;
        }
    }
}
